﻿<%@ Page Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="inBidFloors.aspx.cs" Inherits="admin_inBidFloors" Title="Các sàn đang diễn ra" %>

<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="Server">
    <rad:radgrid id="grd" runat="server" allowsorting="True" autogeneratecolumns="False"
        enableajax="True" gridlines="None" ondetailtabledatabind="grd_DetailTableDataBind"
        onneeddatasource="grd_NeedDataSource" skin="Telerik" AllowPaging="True" EnableAJAXLoadingTemplate="True" LoadingTemplateTransparency="25" PageSize="20">
<MasterTableView DataKeyNames="ProID" NoDetailRecordsText="Chưa c&#243; ai ra gi&#225;" NoMasterRecordsText="Kh&#244;ng c&#243; s&#224;n đang diễn ra"><DetailTables>
<rad:GridTableView runat="server" Name="FloorDetails" NoDetailRecordsText="Chưa c&#243; ai ra gi&#225;" NoMasterRecordsText="Chưa c&#243; ai ra gi&#225;">
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn Visible="False" Resizable="False">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
    <rad:GridBoundColumn DataField="STT" HeaderText="STT" UniqueName="column2">
        <ItemStyle Width="30px" />
    </rad:GridBoundColumn>
<rad:GridBoundColumn DataField="Buyer" HeaderText="Người ra gi&#225;" UniqueName="column">
    <ItemStyle Width="100px" />
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="Bid" DataFormatString="{0:c0}" HeaderText="Gi&#225; đ&#227; ra" UniqueName="column1" DataType="System.Decimal">
    <ItemStyle Width="100px" />
</rad:GridBoundColumn>
    <rad:GridBoundColumn DataField="BidDate" DataType="System.DateTime" HeaderText="Ng&#224;y ra gi&#225;"
        UniqueName="column3">
        <ItemStyle Width="150px" />
    </rad:GridBoundColumn>
    <rad:GridBoundColumn DataField="MaxBid" DataFormatString="{0:c0}" HeaderText="Gi&#225; cao nhất"
        UniqueName="column4">
        <ItemStyle Width="100px" />
    </rad:GridBoundColumn>
</Columns>
    <SortExpressions>
        <rad:GridSortExpression FieldName="Bid" SortOrder="Descending" />
    </SortExpressions>
</rad:GridTableView>
</DetailTables>

<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn Resizable="False">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
    <rad:GridBoundColumn DataType="System.Int32" HeaderText="STT" UniqueName="column2" DataField="STT">
        <ItemStyle Width="30px" />
    </rad:GridBoundColumn>
<rad:GridBoundColumn DataField="ProName" HeaderText="T&#234;n s&#224;n" UniqueName="column">
<HeaderStyle Font-Bold="True"></HeaderStyle>

<ItemStyle Width="170px"></ItemStyle>
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="Seller" HeaderText="Người b&#225;n" UniqueName="column1">
<HeaderStyle Font-Bold="True"></HeaderStyle>
    <ItemStyle Width="60px" />
</rad:GridBoundColumn>
    <rad:GridBoundColumn DataField="StartingPrice" DataFormatString="{0:c0}" DataType="System.Decimal"
        HeaderText="Gi&#225; khởi điểm" UniqueName="column5">
        <ItemStyle Width="100px" />
    </rad:GridBoundColumn>
    <rad:GridBoundColumn DataField="CurBid" DataFormatString="{0:c0}" DataType="System.Decimal"
        HeaderText="Gi&#225; hiện tại" UniqueName="column3">
        <ItemStyle Width="100px" />
    </rad:GridBoundColumn>
    <rad:GridCheckBoxColumn DataField="Quick" DataType="System.Boolean" HeaderText="Mua ngay"
        UniqueName="column4">
        <ItemStyle HorizontalAlign="Center" Width="50px" />
    </rad:GridCheckBoxColumn>
</Columns>
</MasterTableView>
        <ClientSettings>
            <Selecting AllowRowSelect="True" />
        </ClientSettings>
        <PagerStyle Mode="NextPrevAndNumeric" NextPageToolTip="Trang kế" PagerTextFormat="Trang: {4}"
            PrevPageToolTip="Trang trước" />
</rad:radgrid>
</asp:Content>

